home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmAddWMProtocolCallback.z / XmAddWMProtocolCallback
Encoding:
Text File  |  2003-11-18  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_A_d_d_W_M_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k - A VendorShell convenience
  10.       interface that adds client callbacks for a protocol
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.       #include <Xm/Protocols.h>
  15.  
  16.       void XmAddWMProtocolCallback (sssshhhheeeellllllll,,,, pppprrrroooottttooooccccoooollll,,,, ccccaaaallllllllbbbbaaaacccckkkk,,,, cccclllloooossssuuuurrrreeee)
  17.            _W_i_d_g_e_t       sssshhhheeeellllllll;
  18.            _A_t_o_m       pppprrrroooottttooooccccoooollll;
  19.            _X_t_C_a_l_l_b_a_c_k_P_r_o_cccccaaaallllllllbbbbaaaacccckkkk;
  20.            _X_t_P_o_i_n_t_e_r   cccclllloooossssuuuurrrreeee;
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.       _X_m_A_d_d_W_M_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k is a convenience interface.  It
  24.       calls    _X_m_A_d_d_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k with the property    value set to
  25.       the atom returned by interning _W_M__P_R_O_T_O_C_O_L_S.
  26.  
  27.       sssshhhheeeellllllll
  28.            Specifies the widget with which the protocol property
  29.            is associated.
  30.  
  31.       pppprrrroooottttooooccccoooollll
  32.            Specifies the protocol _A_t_o_m (or an _i_n_t type cast    to
  33.            _A_t_o_m).
  34.  
  35.       ccccaaaallllllllbbbbaaaacccckkkk
  36.            Specifies the procedure to call when a protocol message
  37.            is received.
  38.  
  39.       cccclllloooossssuuuurrrreeee
  40.            Specifies the client data to be passed to the callback
  41.            when it is invoked.
  42.  
  43.       For a    complete definition of VendorShell and its associated
  44.       resources, see _V_e_n_d_o_r_S_h_e_l_l(_3_X).
  45.  
  46.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  47.       _V_e_n_d_o_r_S_h_e_l_l(_3_X), _X_m_A_d_d_P_r_o_t_o_c_o_l_C_a_l_l_b_a_c_k(_3_X), and
  48.       _X_m_I_n_t_e_r_n_A_t_o_m(_3_X).
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.